package com.byzk.p2p.admin.order.dao;

import java.util.List;

import com.byzk.p2p.admin.order.dto.TenderOrder;

public interface TenderOrderDao {

	public Integer delete(Integer id);

	public Integer insert(TenderOrder record);

	public TenderOrder selectByPrimaryKey(Integer id);
	
	public TenderOrder selectByUserId(Integer userId);

	public Integer update(TenderOrder record);
	
	public List<TenderOrder> list(TenderOrder record);
	
	public List<TenderOrder> rowno(TenderOrder record);
	
	public Integer count(TenderOrder record);
	
	public Integer batchUpdate(List<TenderOrder> list);
	
	public Integer lastId();

}